﻿using KinonekoSoftware.CodariaDB.Documents.Shenanigans;

namespace KinonekoSoftware.Studio.Models.Shenanigans.Talking
{
    public abstract class SystemMSG : TalkingMSG
    {
        public sealed override void SetCharacter(Character character)
        {
            
        }
        
    }
    
    public abstract class SystemMSG<T> : SystemMSG where T : TalkingObject
    {
        public override TalkingObject GetTalkingObject() => TargetObject;
        

        public required        T      TargetObject { get; init; }
        public sealed override string Id           => TargetObject.Id;
    }
}